dispatchNestedPreScroll
Dispatch one step of a nested scroll in progress before this view consumes any portion of it.
This version of the method just calls dispatchNestedPreScroll using the touch input type.
Return
true if the parent consumed some or all of the scroll delta
Parameters
view for which to dispatch the scroll.
Horizontal scroll distance in pixels
Vertical scroll distance in pixels
Output. If not null, consumed[0] will contain the consumed component of dx and consumed[1] the consumed dy.
Optional. If not null, on return this will contain the offset in local view coordinates of this view from before this operation to after it completes. View implementations may use this to adjust expected input coordinate tracking.
Dispatch one step of a nested scroll in progress before this view consumes any portion of it.
Nested pre-scroll events are to nested scroll events what touch intercept is to touch. dispatchNestedPreScroll
offers an opportunity for the parent view in a nested scrolling operation to consume some or all of the scroll operation before the child view consumes it.
Return
true if the parent consumed some or all of the scroll delta
Parameters
view for which to dispatch the scroll.
Horizontal scroll distance in pixels
Vertical scroll distance in pixels
Output. If not null, consumed[0] will contain the consumed component of dx and consumed[1] the consumed dy.
Optional. If not null, on return this will contain the offset in local view coordinates of this view from before this operation to after it completes. View implementations may use this to adjust expected input coordinate tracking.
the type of input which cause this scroll event